#include <stdio.h>

void bubble_sort(int x[], int n)
{
    int i, j, t;
    for (i = 0; i < n; i++)
        for (j = 1; j < n - i; j++)
            if (x[j - 1] > x[j])
                t = x[j - 1], x[j - 1] = x[j], x[j] = t;
}

int main()
{
    int a, b, c;
    while (scanf("%d%d%d", &a, &b, &c) == 3)
    {
        int edges[3] = {a, b, c};
        bubble_sort(edges, 3);
        a = edges[0], b = edges[1], c = edges[2];
        if (a + b <= c)
        {
            printf("not a triangle\n");
            continue;
        }

        if (a * a + b * b > c * c)
            printf("acute");
        else if (a * a + b * b == c * c)
            printf("right");
        else /* a * a + b * b < c * c */
            printf("obtuse");

        putchar(' ');

        if (a == b && a == c)
            printf("equilateral");
        else if (a == b || a == c || b == c)
            printf("isosceles");
        else
            printf("scalene");

        putchar('\n');
    }
}
